<?php
/* vim: set expandtab sw=2 ts=2 sts=2 tw=150 nu: */
if (!isset($channel)) {
  $channel = array();
}
if (!isset($channel['title'])) {
  $channel['title'] = $title_for_layout;
}

echo $this->Rss->document(
  $this->Rss->channel(
    array(), $channel, $content_for_layout
  )
);
?>